import requests


class IhrmLoginApi:
    @classmethod
    def login_api(cls, login_data):
        resp = requests.post(url='http://192.168.174.132:8000/api/sys/login',
                             headers={"Content-Type": "application/json"},
                             json=login_data)
        return resp
